﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="New.aspx.cs" Inherits="SPPropertyBagManagement.Layouts.SPPropertyBagManagement.New"
    DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div id="divEditor" runat="server" style="padding: 7px">
        <table border="0" cellspacing="2">
            <tr>
                <td align="right">
                    Property Name:
                </td>
                <td>
                    <asp:TextBox runat="server" ID="tbPropertyName" TextMode="SingleLine" Width="250px"
                        MaxLength="128" BackColor="#E0FFE3" />
                    <SharePoint:InputFormRequiredFieldValidator runat="server" ControlToValidate="tbPropertyName"
                        ErrorMessage="*" ForeColor="Red" BreakBefore="False" BreakAfter="False" />
                </td>
            </tr>
            <tr id="trPropertyType" runat="server">
                <td align="right">
                    Property Type:
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="ddlPropertyType" Width="100px" DataValueField="Id"
                        DataTextField="Name" />
                </td>
            </tr>
        </table>
        <br />
        <asp:Label runat="server" Text="Property Value:" />
        <br />
        <asp:TextBox runat="server" ID="tbPropertyValue" TextMode="MultiLine" Width="550"
            Height="130px" BorderWidth="1" BorderColor="#E2E2E2" BackColor="#C9E5FF" />
        <br />
        <br />
        <asp:Label runat="server" ID="lblMessage" Visible="False" />
        <br />
        <br />
        <div style="text-align: right; padding: 7px">
            <asp:Button runat="server" ID="btnSave" Text="Save" Width="85px" Height="25px" BorderWidth="1"
                ToolTip="Save property" BorderStyle="Outset" OnClick="btnSave_OnClick" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
</asp:Content>
